Custom modules

Hi,.  

Is it possible to develop custom modules or watch faces? For example,  I want to calculate angle of sun depending on date , daytime and GPS cordinates or projection according to compass Data. Is there a developer mode for programming such small modules?